home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 139
/
(Vol 139) Sep 24 2011.iso
/
Games
/
how_to_make_chocolate_velvet_ice_cream.swf
/
scripts
/
frame_1
/
PlaceObject3_18_1
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
Wrap
Text File
|
2011-09-24
|
373b
|
17 lines
onClipEvent(enterFrame){
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
if(percent == undefined)
{
percent = 0;
}
percent -= (percent - loading / total * 100) * 0.25;
per = int(percent);
percentage.text = per + "%";
loadBar._width = per;
if(percent >= 100)
{
_parent.gotoAndStop(2);
}
}